package com.cy.detectsys.mapper;

import com.cy.detectsys.entity.TargetInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cy.detectsys.entity.vo.TargetInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author asus
* @description 针对表【target_info(重点目标表)】的数据库操作Mapper
* @createDate 2024-06-12 16:40:19
* @Entity com.cy.detectsys.entity.TargetInfo
*/
@Mapper
public interface targetInfoMapper extends BaseMapper<TargetInfo> {
    List<TargetInfo> ownershipAssets();

    List<TargetInfo> assets();

    List<TargetInfo> KeyObjectDetails(@Param("TargetInfoVo") TargetInfoVo TargetInfoVo);

    List<TargetInfo> KeyObjectDetailsByIp(@Param("TargetInfoVo") TargetInfoVo TargetInfoVo);

    List<TargetInfo> KeyObjectDetailsByPort(@Param("TargetInfoVo")TargetInfoVo TargetInfoVo);

    List<TargetInfo> KeyObjectDetailsByService(@Param("TargetInfoVo")TargetInfoVo TargetInfoVo);

    TargetInfo detectionResult(@Param("TargetInfoVo")TargetInfoVo TargetInfoVo);

    List<TargetInfo> independentIP(@Param("TargetInfoVo")TargetInfoVo TargetInfoVo);

}




